<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CIAI: Référence du fichier ChaineCond/mise_en_carton.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CIAI
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9494a860582fed784d9b8dd0c38387b4.html">ChaineCond</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier mise_en_carton.c</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;signal.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;mqueue.h&gt;</code><br/>
<code>#include &lt;math.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="mise__en__carton_8h_source.html">mise_en_carton.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ResChaineCond_8h_source.html">ResChaineCond.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="partage__simu_8h_source.html">../interface/partage_simu.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="constantes_8h_source.html">../interface/constantes.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="messqueue_8h_source.html">../interface/messqueue.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mutexpartage_8h_source.html">../interface/mutexpartage.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="variablesglobales_8h_source.html">../interface/variablesglobales.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="utils_8h_source.html">../utils/utils.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de mise_en_carton.c:</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c__incl.png" border="0" usemap="#ChaineCond_2mise__en__carton_8c" alt=""/></div>
<map name="ChaineCond_2mise__en__carton_8c" id="ChaineCond_2mise__en__carton_8c">
<area shape="rect" id="node11" href="mise__en__carton_8h.html" title="mise_en_carton.h" alt="" coords="480,107,603,135"/><area shape="rect" id="node21" href="ResChaineCond_8h.html" title="ResChaineCond.h" alt="" coords="824,107,947,135"/><area shape="rect" id="node23" href="partage__simu_8h.html" title="../interface/partage\l_simu.h" alt="" coords="971,99,1099,143"/><area shape="rect" id="node27" href="constantes_8h.html" title="../interface/constantes.h" alt="" coords="1123,107,1280,135"/><area shape="rect" id="node29" href="messqueue_8h.html" title="../interface/messqueue.h" alt="" coords="233,193,393,221"/><area shape="rect" id="node31" href="mutexpartage_8h.html" title="../interface/mutexpartage.h" alt="" coords="627,107,800,135"/><area shape="rect" id="node36" href="variablesglobales_8h.html" title="../interface/variablesglobales.h" alt="" coords="1304,107,1496,135"/><area shape="rect" id="node38" href="utils_8h.html" title="../utils/utils.h" alt="" coords="229,107,320,135"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a45ba202b05caf39795aeca91b0ae547e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a45ba202b05caf39795aeca91b0ae547e">TIMEOUT</a>&#160;&#160;&#160;30</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a0a7de66e323b3aedb148e0370c7a403b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a0a7de66e323b3aedb148e0370c7a403b">arrivee_piece_handler</a> (int parameter)</td></tr>
<tr class="memitem:a461ce8170fd6efbbc7eeae1fb6413d5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a461ce8170fd6efbbc7eeae1fb6413d5a">init_mise_en_carton</a> ()</td></tr>
<tr class="memitem:a3215b1c66e8f443a692d1d3a4a4a5b55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a3215b1c66e8f443a692d1d3a4a4a5b55">detruire_mise_en_carton</a> ()</td></tr>
<tr class="memitem:ac987cd0672dd22ed0cd0d0e3ea46724f"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#ac987cd0672dd22ed0cd0d0e3ea46724f">mise_en_carton</a> (void *parameter)</td></tr>
<tr class="memitem:a063f3c9d4e03d62f2eb7db360fe8b9fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a063f3c9d4e03d62f2eb7db360fe8b9fc">charger_lot</a> (int num_lot)</td></tr>
<tr class="memitem:aea1d44e913085224ae9bb466bb7db8fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#aea1d44e913085224ae9bb466bb7db8fb">supprimer_carton_courant</a> ()</td></tr>
<tr class="memitem:a3e0b8f1a193c3c360d3d37f7ef79ee13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a3e0b8f1a193c3c360d3d37f7ef79ee13">launch_timeout</a> ()</td></tr>
<tr class="memitem:ab0b6c7d1aff9cc3ad138097112a8dc1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#ab0b6c7d1aff9cc3ad138097112a8dc1c">stop_timeout</a> ()</td></tr>
<tr class="memitem:a196289fbc56c77e0de43da39a33a3fbb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mise__en__carton_8c.html#a196289fbc56c77e0de43da39a33a3fbb">demander_arret</a> ()</td></tr>
</table>
<a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><dl class="section author"><dt>Auteur</dt><dd>H4201 </dd></dl>
</div><h2>Documentation des macros</h2>
<a class="anchor" id="a45ba202b05caf39795aeca91b0ae547e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIMEOUT&#160;&#160;&#160;30</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2>Documentation des fonctions</h2>
<a class="anchor" id="a0a7de66e323b3aedb148e0370c7a403b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void arrivee_piece_handler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>parameter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>gère l'arrivée d'une pièce. Cette fonction lis les informations sur la pièce et sur des capteurs dans la shared memory. </p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameter</td><td>parametre inutilisé, il est juste là pour respecter le prototype du handler </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a0a7de66e323b3aedb148e0370c7a403b_icgraph.png" border="0" usemap="#mise__en__carton_8c_a0a7de66e323b3aedb148e0370c7a403b_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_a0a7de66e323b3aedb148e0370c7a403b_icgraph" id="mise__en__carton_8c_a0a7de66e323b3aedb148e0370c7a403b_icgraph">
<area shape="rect" id="node3" href="mise__en__carton_8h.html#a461ce8170fd6efbbc7eeae1fb6413d5a" title="init_mise_en_carton" alt="" coords="201,30,337,58"/><area shape="rect" id="node21" href="mise__en__carton__test_8c.html#a601ef67777bccfe7d51e0f6421b6c1be" title="START_TEST" alt="" coords="217,81,321,109"/><area shape="rect" id="node5" href="mise__en__carton_8h.html#ac987cd0672dd22ed0cd0d0e3ea46724f" title="mise_en_carton" alt="" coords="388,5,500,33"/><area shape="rect" id="node15" href="mise__en__carton__test_8c.html#a7549bd860326b41ebc9e5d5b2a06b53e" title="setup" alt="" coords="417,55,471,83"/><area shape="rect" id="node7" href="init__functions_8h.html#a896a55a03eb32f8a7f8bb2ee53f15c13" title="launch_threads" alt="" coords="568,5,677,33"/><area shape="rect" id="node9" href="init__functions_8h.html#a6597b9dead92c130f755c84926767011" title="init_chaine_cond" alt="" coords="745,5,863,33"/><area shape="rect" id="node11" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="912,5,963,33"/><area shape="rect" id="node13" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="1011,5,1061,33"/><area shape="rect" id="node17" href="mise__en__carton__test_8h.html#a7c0382bb101a45adc054fe3e3ee3cfdc" title="mise_en_carton_suite" alt="" coords="549,55,696,83"/><area shape="rect" id="node19" href="test__runner_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="main" alt="" coords="779,55,829,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a063f3c9d4e03d62f2eb7db360fe8b9fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void charger_lot </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_lot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>permet de charger les valeurs nécéssaire pour le thread de mise en carton </p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramname">num_lot</td><td>numéro du lot en cours de fabrication </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a063f3c9d4e03d62f2eb7db360fe8b9fc_icgraph.png" border="0" usemap="#mise__en__carton_8c_a063f3c9d4e03d62f2eb7db360fe8b9fc_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_a063f3c9d4e03d62f2eb7db360fe8b9fc_icgraph" id="mise__en__carton_8c_a063f3c9d4e03d62f2eb7db360fe8b9fc_icgraph">
<area shape="rect" id="node3" href="reception__linux_8h.html#a80df2c4c7e274b26cdbedadee302bdc3" title="demarrer_production" alt="" coords="143,5,281,33"/><area shape="rect" id="node11" href="mise__en__carton__test_8c.html#a7549bd860326b41ebc9e5d5b2a06b53e" title="setup" alt="" coords="185,55,239,83"/><area shape="rect" id="node5" href="reception__linux_8h.html#a42466b8fdf4ecd00121528fd9ee540a1" title="reception_linux" alt="" coords="351,5,457,33"/><area shape="rect" id="node7" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="525,5,576,33"/><area shape="rect" id="node9" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="624,5,675,33"/><area shape="rect" id="node13" href="mise__en__carton__test_8h.html#a7c0382bb101a45adc054fe3e3ee3cfdc" title="mise_en_carton_suite" alt="" coords="331,55,477,83"/><area shape="rect" id="node15" href="test__runner_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="main" alt="" coords="525,55,576,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a196289fbc56c77e0de43da39a33a3fbb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void demander_arret </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>lance l'arret de la chaine de conditionnement. L'arret ne se fait pas forcément instantanément </p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a196289fbc56c77e0de43da39a33a3fbb_icgraph.png" border="0" usemap="#mise__en__carton_8c_a196289fbc56c77e0de43da39a33a3fbb_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_a196289fbc56c77e0de43da39a33a3fbb_icgraph" id="mise__en__carton_8c_a196289fbc56c77e0de43da39a33a3fbb_icgraph">
<area shape="rect" id="node3" href="reception__linux_8h.html#ae2f0fdf88195fcb6a6cbd2349da81ea6" title="arreter_application" alt="" coords="165,5,293,33"/><area shape="rect" id="node5" href="reception__linux_8h.html#a42466b8fdf4ecd00121528fd9ee540a1" title="reception_linux" alt="" coords="343,5,449,33"/><area shape="rect" id="node7" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="499,5,549,33"/><area shape="rect" id="node9" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="597,5,648,33"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3215b1c66e8f443a692d1d3a4a4a5b55"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void detruire_mise_en_carton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>libère la mémoire en vue de detruire le processus </p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a3215b1c66e8f443a692d1d3a4a4a5b55_icgraph.png" border="0" usemap="#mise__en__carton_8c_a3215b1c66e8f443a692d1d3a4a4a5b55_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_a3215b1c66e8f443a692d1d3a4a4a5b55_icgraph" id="mise__en__carton_8c_a3215b1c66e8f443a692d1d3a4a4a5b55_icgraph">
<area shape="rect" id="node3" href="mise__en__carton_8h.html#ac987cd0672dd22ed0cd0d0e3ea46724f" title="mise_en_carton" alt="" coords="217,5,329,33"/><area shape="rect" id="node5" href="init__functions_8h.html#a896a55a03eb32f8a7f8bb2ee53f15c13" title="launch_threads" alt="" coords="379,5,488,33"/><area shape="rect" id="node7" href="init__functions_8h.html#a6597b9dead92c130f755c84926767011" title="init_chaine_cond" alt="" coords="537,5,655,33"/><area shape="rect" id="node9" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="704,5,755,33"/><area shape="rect" id="node11" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="803,5,853,33"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a461ce8170fd6efbbc7eeae1fb6413d5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void init_mise_en_carton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>initialise les variables locales du thread ainsi que les message queue et inscrit le pid de l'application dans le shared memory. </p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_cgraph.png" border="0" usemap="#mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_cgraph" alt=""/></div>
<map name="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_cgraph" id="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_cgraph">
<area shape="rect" id="node3" href="mise__en__carton_8c.html#a0a7de66e323b3aedb148e0370c7a403b" title="arrivee_piece_handler" alt="" coords="192,5,339,33"/><area shape="rect" id="node5" href="utils_8c.html#a686f24e9640832dbb30f2e4a9251f01b" title="ouvrir_mqueue" alt="" coords="212,55,319,83"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_icgraph.png" border="0" usemap="#mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_icgraph" id="mise__en__carton_8c_a461ce8170fd6efbbc7eeae1fb6413d5a_icgraph">
<area shape="rect" id="node3" href="mise__en__carton_8h.html#ac987cd0672dd22ed0cd0d0e3ea46724f" title="mise_en_carton" alt="" coords="193,5,305,33"/><area shape="rect" id="node13" href="mise__en__carton__test_8c.html#a7549bd860326b41ebc9e5d5b2a06b53e" title="setup" alt="" coords="223,55,276,83"/><area shape="rect" id="node5" href="init__functions_8h.html#a896a55a03eb32f8a7f8bb2ee53f15c13" title="launch_threads" alt="" coords="373,5,483,33"/><area shape="rect" id="node7" href="init__functions_8h.html#a6597b9dead92c130f755c84926767011" title="init_chaine_cond" alt="" coords="551,5,668,33"/><area shape="rect" id="node9" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="717,5,768,33"/><area shape="rect" id="node11" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="816,5,867,33"/><area shape="rect" id="node15" href="mise__en__carton__test_8h.html#a7c0382bb101a45adc054fe3e3ee3cfdc" title="mise_en_carton_suite" alt="" coords="355,55,501,83"/><area shape="rect" id="node17" href="test__runner_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="main" alt="" coords="584,55,635,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3e0b8f1a193c3c360d3d37f7ef79ee13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void launch_timeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>lance le timer de timeout </p>

</div>
</div>
<a class="anchor" id="ac987cd0672dd22ed0cd0d0e3ea46724f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* mise_en_carton </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>parameter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>thread permettant de capturer les SIGUSR1 représentant les arrivées de carton et de les traiter </p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramname">parameter</td><td>parametre inutilsé </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>0 quand le thread se termine correctement </dd></dl>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_cgraph.png" border="0" usemap="#mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_cgraph" alt=""/></div>
<map name="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_cgraph" id="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_cgraph">
<area shape="rect" id="node3" href="mise__en__carton_8c.html#a461ce8170fd6efbbc7eeae1fb6413d5a" title="init_mise_en_carton" alt="" coords="181,30,317,58"/><area shape="rect" id="node9" href="mise__en__carton_8c.html#a3215b1c66e8f443a692d1d3a4a4a5b55" title="detruire_mise_en_carton" alt="" coords="168,81,331,109"/><area shape="rect" id="node5" href="mise__en__carton_8c.html#a0a7de66e323b3aedb148e0370c7a403b" title="arrivee_piece_handler" alt="" coords="379,5,525,33"/><area shape="rect" id="node7" href="utils_8c.html#a686f24e9640832dbb30f2e4a9251f01b" title="ouvrir_mqueue" alt="" coords="399,55,505,83"/></map>
</div>
</p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_icgraph.png" border="0" usemap="#mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_icgraph" id="mise__en__carton_8c_ac987cd0672dd22ed0cd0d0e3ea46724f_icgraph">
<area shape="rect" id="node3" href="init__functions_8h.html#a896a55a03eb32f8a7f8bb2ee53f15c13" title="launch_threads" alt="" coords="168,5,277,33"/><area shape="rect" id="node5" href="init__functions_8h.html#a6597b9dead92c130f755c84926767011" title="init_chaine_cond" alt="" coords="327,5,444,33"/><area shape="rect" id="node7" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="493,5,544,33"/><area shape="rect" id="node9" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="592,5,643,33"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab0b6c7d1aff9cc3ad138097112a8dc1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void stop_timeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>arrete le timer de timeout </p>

</div>
</div>
<a class="anchor" id="aea1d44e913085224ae9bb466bb7db8fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void supprimer_carton_courant </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>supprime le carton courant et le remplace par un nouveau. La fonction est mise en attente si une arrivée de pièce est actuellement traitée. </p>

<p><div class="dynheader">
Voici le graphe des appelants de cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="mise__en__carton_8c_aea1d44e913085224ae9bb466bb7db8fb_icgraph.png" border="0" usemap="#mise__en__carton_8c_aea1d44e913085224ae9bb466bb7db8fb_icgraph" alt=""/></div>
<map name="mise__en__carton_8c_aea1d44e913085224ae9bb466bb7db8fb_icgraph" id="mise__en__carton_8c_aea1d44e913085224ae9bb466bb7db8fb_icgraph">
<area shape="rect" id="node3" href="reception__linux_8h.html#a42466b8fdf4ecd00121528fd9ee540a1" title="reception_linux" alt="" coords="225,5,332,33"/><area shape="rect" id="node5" href="mere_8h.html#a5e12a3b6e744060d0371be58ecb80dac" title="mere" alt="" coords="381,5,432,33"/><area shape="rect" id="node7" href="main_8h.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="480,5,531,33"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Lundi Décembre 17 2012 02:23:17 pour CIAI par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>
